<?php

//CONTROLEUR



class composant_1{
    
    private  $vue;
    
    public function __construct() {
        require_once 'modeles/modele.php';
        $this->vue=array();
        
    }
    public function afficherDonnees(){
        
        
        $data = new AfficherListeContact();
        $this->vue = $data->select("contacts", "*");
        
        require_once 'vues/vue.php';
    }
    
}
